home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20021006-20030409
/
000037_fdc@columbia.edu_Mon Oct 28 09:57:23 EST 2002.msg
< prev
next >
Wrap
Text File
|
2003-04-08
|
2KB
|
43 lines
Article: 13800 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: redirect io to external cmd (like cu "~|cmd" and "~$cmd")
Date: 28 Oct 2002 09:57:17 -0500
Organization: Columbia University
Lines: 26
Message-ID: <apjj8d$pk3$1@watsol.cc.columbia.edu>
References: <86c66124.0210280643.30d17ab6@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1035817038 8390 128.59.39.139 (28 Oct 2002 14:57:18 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 28 Oct 2002 14:57:18 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13800
In article <86c66124.0210280643.30d17ab6@posting.google.com>,
<pytcayrn@freemail.hu> wrote:
: In C-kermit 7.0 (HP-UX), how can I redirect binary data coming from a
: directly connected device on /dev/tty0p2 to an external application
: like "od -tx1", so that decoded hexa numbers should appear on the
: screen after I issue a "CONNECT" command?
:
You can't make hex numbers appear on the screen but you can make them
go into a session log file:
set port /dev/tty0p2
set speed 57600 ; or whatever
set flow rts/cts ; or whatever
set session log binary
log session "|od -tx1 > session.log"
: And how can I do the reverse:
: starting an external command whose output is dumped to the serial
: line?
:
redirect <command>
: These functions exist in "cu" ("~|cmd" and "~$cmd") but using them in
: kermit would be more convenient.
- Frank